package com.nbot.server.mapper.master;

import com.nbot.server.domain.OilwellDO;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;

/**
 * 
 * @author nbot
 * @email nbot@163.com
 * @date 2018-07-08 02:31:59
 */
@Mapper
public interface OilwellMapper {

	OilwellDO get(Long autoid);
	
	List<OilwellDO> list(Map<String,Object> map);
	
	int count(Map<String,Object> map);
	
	int save(OilwellDO oilwell);
	
	int update(OilwellDO oilwell);
	
	int remove(Long autoid);
	
	int batchRemove(Long[] autoids);

	List<OilwellDO> listAll();
}
